package com.chen;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ImportResource;
import org.springframework.context.support.ClassPathXmlApplicationContext;

@ImportResource("consumer.xml")
@SpringBootApplication
public class BusinessApplication {
    public static void main(String[] args) {
        SpringApplication.run(BusinessApplication.class,args);

        System.out.println("Business App started...");

        StringBuffer sb = new StringBuffer();
        sb.append("文档访问地址：\n");
//        sb.append("http://localhost:8801/swagger-ui/index.html");
        sb.append("http://localhost:8803/swagger-ui.html");
        System.out.println(sb.toString());
    }
}
